$(function () {
    let detail = {
        url: {
            getDetail: 'front/detail'
        },
        init: function () {
            let _self = detail
            // 详情内容显示
            _self.showDetail()
        },
        showDetail: () => {
            let _self = detail
            $.post(detail.url.getDetail, {id: getUrlParam('id')}, (data) => {
                if (data.success) {
                    $('#detailTitle').html(data.title)
                    $('#detailOperationTime').html(data.operatetime)
                    $('#detailOperator').html(data.operator)
                    $('#detailCont').html(data.cont)
                }
            })
        }
    }
    detail.init()
})